
@extends('layouts.master')

@section("css")
    @parent
@stop

@section("body")
<div class="row">
    <div class="col-md-12">
        <!-- INPUTS -->
        <div class="panel">
            <div class="panel-heading">
                <h3 class="panel-title">用户详情</h3>
            </div>
            <div class="panel-body">
                <div class="input-group">
                    <span class="input-group-addon">头<span style="visibility:hidden;">占位符</span>像</span>
                    <img style="width: 100px;" src="{{ $wechatUser['headimgurl'] }}">
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">昵<span style="visibility:hidden;">占位符</span>称</span>
                    <input type="text" class="form-control" value="{{ $wechatUser['nickname'] }}" disabled="disabled" style="background: #ffffff;">
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">性<span style="visibility:hidden;">占位符</span>别</span>
                    <input type="text" class="form-control" value=" @if($wechatUser['sex'] == 1)男性@elseif($wechatUser['sex'] == 2)女性@else未知@endif" disabled="disabled" style="background: #ffffff;">
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">所<span style="visibility:hidden;">占</span>在<span style="visibility:hidden;">位</span>地</span>
                    <input type="text" class="form-control" value="{{ $wechatUser['country'] }}&nbsp;&nbsp;{{ $wechatUser['province'] }}&nbsp;&nbsp;{{ $wechatUser['city'] }}" disabled="disabled" style="background: #ffffff;">
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">是否已关注</span>
                    <input type="text" class="form-control" value='{{$wechatUser['subscribe']?"已关注":"未关注"}}' disabled="disabled" style="background: #ffffff;">
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">是否已关注</span>
                    <input type="text" class="form-control" value='{{count($wechatUser['wechatUserInfo'])!=0?"已认证":"未认证"}}' disabled="disabled" style="background: #ffffff;">
                </div>
                <br>
                @if(count($wechatUser['wechatUserInfo'])!=0)
                <div class="input-group">
                    <span class="input-group-addon">姓<span style="visibility:hidden;">占位符</span>名</span>
                    <input type="text" class="form-control" value="{{$wechatUser['wechatUserInfo']['name']}}" disabled="disabled" style="background: #ffffff;">
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">联系<span style="visibility:hidden;">占</span>电话</span>
                    <input type="text" class="form-control" value="{{$wechatUser['wechatUserInfo']['phone']}}" disabled="disabled" style="background: #ffffff;">
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">体<span style="visibility:hidden;">占位符</span>重</span>
                    <input type="text" class="form-control" value="{{$wechatUser['wechatUserInfo']['weight']}}" disabled="disabled" style="background: #ffffff;">
                    <span class="input-group-addon">KG</span>
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">身<span style="visibility:hidden;">占位符</span>高</span>
                    <input type="text" class="form-control" value="{{$wechatUser['wechatUserInfo']['height']}}" disabled="disabled" style="background: #ffffff;">
                    <span class="input-group-addon">CM</span>
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">B<span style="visibility:hidden;">占1</span>M<span style="visibility:hidden;">位1</span>I</span>
                    <input type="text" class="form-control" value="{{$wechatUser['wechatUserInfo']['bmi']}}" disabled="disabled" style="background: #ffffff;">
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">糖尿<span style="visibility:hidden;">占</span>病史</span>
                    <input type="text" class="form-control" value="{{$wechatUser['wechatUserInfo']['dis_age']}}" disabled="disabled" style="background: #ffffff;">
                    <span class="input-group-addon">年</span>
                </div>
                <br>
                <div class="input-group">
                    <span class="input-group-addon">所属<span style="visibility:hidden;">占</span>医生</span>
                    <input type="text" class="form-control" value="{{$wechatUser['wechatDoctor']['wechatDoctorInfo']['name']}}" disabled="disabled" style="background: #ffffff;">
                </div>
                <br>
                @endif
                <a href="javascript:history.back(-1)">
                <button type="button" class="btn btn-primary btn-block create_btn">返回</button>
                </a>
            </div>
        </div>
        <!-- END INPUTS -->
    </div>
</div>
@stop

@section("js")
    @parent
    <script type="text/javascript" src="/js/pages/admin/user/create.js"></script>
@stop